Thumb

fun Thumb(interactionSource: MutableInteractionSource, modifier: Modifier = Modifier, colors: WavySliderColors = colors(), enabled: Boolean = true, thumbSize: DpSize = ThumbSize)

The Default thumb for WavySlider

Parameters

interactionSource

the MutableInteractionSource representing the stream of Interactions for this thumb. You can create and pass in your own remembered instance to observe.

modifier

the Modifier to be applied to the thumb.

colors

WavySliderColors that will be used to resolve the colors used for this thumb in different states. See WavySliderDefaults.colors.

enabled

controls the enabled state of this WavySlider. When false, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.